// vue 路由
import {createRouter,createWebHistory} from 'vue-router'

// 创建路由实例
const routes = [
  {
    path:'/',
    name:'goods',
    component:()=>import('../views/content/goods.vue')
  },
  {
    path:'/evaluation',
    name:'evaluation',
    component:()=>import('../views/content/evaluation.vue')
  },
  {
    path:'/marchant',
    name:'merchant',
    component:()=>import('../views/content/merchant.vue')
  }
]

export default createRouter({
  history:createWebHistory(),
  routes
})